#ifndef ODBC_CONNECTION_CONCEPT_HPP
#define ODBC_CONNECTION_CONCEPT_HPP

#include <boost/concept_check.hpp>

namespace odbc
{

// TODO: Document
template< class Connection>
class connection_concept
{
public:
	BOOST_CONCEPT_USAGE( connection_concept)
	{
		Connection c1( "Connection string", 10);
		Connection c2( std::string( "Connection string"), 10);
		c1.commit();
		c1.rollback();
		bool has_auto_commit = const_cast< const Connection&>(c1).auto_commit();
		has_auto_commit;
	}

};


} // namespace odbc

#endif // ODBC_CONNECTION_CONCEPT_HPP
